-module(inputformat).

-export([text_input_format/1, each_text_input_format/2]).


text_input_format(Input) ->
    each_text_input_format(Input, 1).

each_text_input_format([], _N) ->
    [];
each_text_input_format(Input, N) ->
    [H|T] = Input,
    [{N, H}|each_text_input_format(T, N+1)].

    
